projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
432e896
)
Dueling arrow positioning fixes...
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 9 May 2011 01:33:12 +0000
(21:33 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 9 May 2011 01:33:12 +0000
(21:33 -0400)
Revert my fix, which conflicted with Benjamins fix for the same
issue.
gtk/gtkarrow.c
patch
|
blob
|
history
diff --git
a/gtk/gtkarrow.c
b/gtk/gtkarrow.c
index 431fd9bc1181021ea3342d83849edc7fcc39e09a..b8744e70ba722ffa735065f4d47bce00c22a21bf 100644
(file)
--- a/
gtk/gtkarrow.c
+++ b/
gtk/gtkarrow.c
@@
-345,8
+345,8
@@
gtk_arrow_draw (GtkWidget *widget,
effective_arrow_type = GTK_ARROW_LEFT;
}
- x = xpad + ((width -
2 * xpad -
extent) * xalign);
- y = ypad + ((height -
2 * ypad -
extent) * yalign);
+ x = xpad + ((width - extent) * xalign);
+ y = ypad + ((height - extent) * yalign);
switch (effective_arrow_type)
{